import scrapy

class BaseItem(scrapy.Item):
    origin_url = scrapy.Field() # 原始地址
    html = scrapy.Field() #公告html源码
    create_time = scrapy.Field() # 创建时间
    update_time = scrapy.Field() # 跟新时间
    announcement_title = scrapy.Field() #公告标题
    announcement_type = scrapy.Field() # 公告类型
    release_time = scrapy.Field()  # 公告发布时间
    is_parsed = scrapy.Field()  #是否已经提取过信息
    source_type = scrapy.Field() #属于哪个网站的信息
    province = scrapy.Field() #所属省份
    city = scrapy.Field() #所属城市
    project_type= scrapy.Field() #工程类型 ，比如：勘测设计，园林设计，工程监理，房屋建筑施工等



convert_dict = {
    "release_time":"公告发布时间",
    "announcement_title":"公告标题",
    'announcement_type':"公告类型",
    'poject_type':"工程类型"
}